package com.google.devrel.example.android.protips.mvp.view;

import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.google.devrel.example.android.protips.R;
import com.google.devrel.example.android.protips.mvp.IMiscView;
import com.google.devrel.example.android.protips.mvp.MiscPresenter;

public class MiscTabletFragmentView extends Fragment implements IMiscView {

	MiscPresenter _presenter;

	public MiscTabletFragmentView() {
		_presenter = new MiscPresenter(this);
	}
	
	private View rootView;

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {

		rootView = inflater.inflate(R.layout.misc_fragment, container,
				false);

		_presenter.fillViewContent(rootView, inflater);

		return rootView;
	}
}
